import request from '@/utils/request'

// 查询膜包机操作记录列表
export function listMembranepack(query) {
  return request({
    url: '/productionProcess/membranepack/list',
    method: 'get',
    params: query
  })
}

// 查询膜包机操作记录详细
export function getMembranepack(id) {
  return request({
    url: '/productionProcess/membranepack/' + id,
    method: 'get'
  })
}

// 新增膜包机操作记录
export function addMembranepack(data) {
  return request({
    url: '/productionProcess/membranepack',
    method: 'post',
    data: data
  })
}

// 修改膜包机操作记录
export function updateMembranepack(data) {
  return request({
    url: '/productionProcess/membranepack',
    method: 'put',
    data: data
  })
}
export function checkMembranepack(data) {
  return request({
    url: '/productionProcess/membranepack/check',
    method: 'put',
    data: data
  })
}
// 删除膜包机操作记录
export function delMembranepack(id) {
  return request({
    url: '/productionProcess/membranepack/' + id,
    method: 'delete'
  })
}
